package com.freecloud.javabasics.design.factory.simple;

import com.freecloud.javabasics.design.entity.Product;

/**
 * @Author: maomao
 * @Date: 2019-10-30 09:01
 */
public class SimpleTest {

    public static void main(String[] args) {

        Product product = ProductFactory.getProduct("car2");

        System.out.println(product.getName());
    }
}
